Skip to content

Handle case when lone wildcard is ORed with other constraints #1186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 10, 2025

Conversation

fredden
Copy link
Contributor

@fredden fredden commented Oct 24, 2024

While working on another feature, I noticed that a constraint like * || 1.2.3 wasn't being normalised to just * as expected. This pull request fixes this oversight.

While working on this change, I noticed that a constraint like *, 1.2.3 isn't normalised to 1.2.3. Let's deal with this in a separate step. (It's late here and I'm tired.)

Copy link

codecov bot commented Oct 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.33%. Comparing base (993e575) to head (8592895).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1186   +/-   ##
=========================================
  Coverage     97.32%   97.33%           
- Complexity      209      210    +1     
=========================================
  Files            32       32           
  Lines           861      863    +2     
=========================================
+ Hits            838      840    +2     
  Misses           23       23           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fredden fredden marked this pull request as ready for review October 25, 2024 16:20
@localheinz localheinz self-assigned this Apr 10, 2025
@localheinz localheinz force-pushed the feature/lone-wildcard-always-wins branch from 185a788 to 8592895 Compare April 10, 2025 12:58
@localheinz localheinz merged commit 0193383 into ergebnis:main Apr 10, 2025
27 checks passed
@localheinz
Copy link
Member

Thank you, @fredden!

@fredden fredden deleted the feature/lone-wildcard-always-wins branch April 10, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants